import React from 'react'
import { useEffect } from 'react'

export default function A() {
    useEffect(()=>{
        console.log('A 挂载了')
        return ()=>{
            console.log('A 卸载了')
        }
    },[])
    return (
        <div>A</div>
    )
}
